<template>
  <div id="wode">
    <input type="button" @click="outLogin" value="下线" />
  </div>
</template>
<script>
export default {
  name: "WoDe",
  components: {},
  data() {
    return {};
  },
  methods: {
    outLogin() {
      localStorage.setItem("access_token", null);
      this.$router.push('/login')
    },
  },
};
</script>
<style lang="stylus" scoped></style>
